package com.woniu.gf.pawn.management.service.impl;


import com.woniu.gf.pawn.comm.core.domain.Permission;
import com.woniu.gf.pawn.management.dao.PermissionMapper;
import com.woniu.gf.pawn.management.service.PermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2020-10-13
 */
@Service
public class PermissionServiceImpl extends ServiceImpl<PermissionMapper, Permission> implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;
    @Override
    public List<String> selectByManagementId(Integer managementId) {
        List<String> list = permissionMapper.selectByManagementId(managementId);
        return list;
    }
}
